//
//  XMGTestViewController.m
//  01 baisi
//
//  Created by 檀志文 on 16/2/13.
//  Copyright © 2016年 ios檀志文. All rights reserved.
//

#import "XMGTestViewController.h"

@implementation XMGTestViewController

- (void)viewDidLoad{
    [super viewDidLoad];
    self.navigationItem.title=@"XMGTestViewController";
    self.view.backgroundColor=[UIColor redColor];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    UIViewController *vc=[[UIViewController alloc]init];
    vc.view.backgroundColor=XMGRGBColor(200, 100, 50);
    [self.navigationController pushViewController:vc animated:YES];
}

@end
